package com.changgou.goods.config;

import com.changgou.entity.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 13545
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2020/12/5 13:49
 */
@Configuration
public class IdWorkerConfig {

    @Bean
    public IdWorker idWorker(){
        return new IdWorker(0,0);
    }
}
